home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8100 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  832 b 

  1. Path: raptor.cqi.com!pan
  2. From: pan@cqi.com (John L Tucker)
  3. Newsgroups: comp.lang.c++
  4. Subject: basic syntax
  5. Date: 14 Feb 1996 17:24:56 GMT
  6. Organization: CQIS
  7. Message-ID: <4ft5t8$ltl@robin.cqi.com>
  8. NNTP-Posting-Host: raptor.cqi.com
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. I really have looked hard for the answer to this, and can't find it in my 
  12. books anywhere.
  13. I know this must be basic syntax.  I just can't find code to steal.
  14.  
  15. My compiler is giving me an error message of:
  16. "cSrtList needs template instantiation arguments"
  17.  
  18. on:
  19.  
  20. class mylist : public cSrtList
  21.       {
  22.       etc.
  23.  
  24. cSrtList has three constructors, each with a differnt argument, the only one 
  25. I would
  26. want to use would be "long MaxItems".  (cSrtList is part of a library I have
  27. rights to use).  I would want to make MaxItems constant.
  28.  
  29. Thanks for a patient answer.
  30.  
  31.